/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package SimpleGUI;

import org.eclipse.emf.ecore.EModelElement;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Article</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link SimpleGUI.Article#getId <em>Id</em>}</li>
 *   <li>{@link SimpleGUI.Article#getColor <em>Color</em>}</li>
 *   <li>{@link SimpleGUI.Article#getParent <em>Parent</em>}</li>
 *   <li>{@link SimpleGUI.Article#isAvailable <em>Available</em>}</li>
 * </ul>
 * </p>
 *
 * @see SimpleGUI.SimpleGUIPackage#getArticle()
 * @model
 * @generated
 */
public interface Article extends EModelElement {
	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(String)
	 * @see SimpleGUI.SimpleGUIPackage#getArticle_Id()
	 * @model required="true"
	 *        annotation="http:///jp.ac.u_tokyo.wrapper.AttributeAnnotations KeyAttribute='true'"
	 * @generated
	 */
	String getId();

	/**
	 * Sets the value of the '{@link SimpleGUI.Article#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 * @generated
	 */
	void setId(String value);

	/**
	 * Returns the value of the '<em><b>Color</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Color</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Color</em>' attribute.
	 * @see #setColor(String)
	 * @see SimpleGUI.SimpleGUIPackage#getArticle_Color()
	 * @model required="true"
	 * @generated
	 */
	String getColor();

	/**
	 * Sets the value of the '{@link SimpleGUI.Article#getColor <em>Color</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Color</em>' attribute.
	 * @see #getColor()
	 * @generated
	 */
	void setColor(String value);

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link SimpleGUI.Tablet#getArticles <em>Articles</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' container reference.
	 * @see #setParent(Tablet)
	 * @see SimpleGUI.SimpleGUIPackage#getArticle_Parent()
	 * @see SimpleGUI.Tablet#getArticles
	 * @model opposite="articles" required="true" transient="false"
	 * @generated
	 */
	Tablet getParent();

	/**
	 * Sets the value of the '{@link SimpleGUI.Article#getParent <em>Parent</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Parent</em>' container reference.
	 * @see #getParent()
	 * @generated
	 */
	void setParent(Tablet value);

	/**
	 * Returns the value of the '<em><b>Available</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Available</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Available</em>' attribute.
	 * @see #setAvailable(boolean)
	 * @see SimpleGUI.SimpleGUIPackage#getArticle_Available()
	 * @model required="true"
	 * @generated
	 */
	boolean isAvailable();

	/**
	 * Sets the value of the '{@link SimpleGUI.Article#isAvailable <em>Available</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Available</em>' attribute.
	 * @see #isAvailable()
	 * @generated
	 */
	void setAvailable(boolean value);

} // Article
